package day0725;

import java.util.Arrays;

public class Test1 {
    static int add(int a, int b){//两个数相加并打印结果
         int rs=a+b;
         return a+b;
    }


    public static void main(String[] args) {
        System.out.println(Test1.add(7, 9));



        int rs=Test1.sub(70, 9);//61

    }

    static int sub(int a,int b){//两个数相减并打印结果
        System.out.println(a-b);
        return a-b;
    }


    static void  square(int a,int b){//两个数相乘并打印结果
        System.out.println(a*b);
    }
    static void devide(double a,double b){//两个数相除并打印结果
        System.out.println(a/b);
    }
}
